//
//  LSZInvitePrizeTableViewCell.m
//  JK九酷云头条
//
//  Created by 九酷 on 2017/11/9.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZInvitePrizeTableViewCell.h"

@implementation LSZInvitePrizeTableViewCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        UIImageView * imageRedEnvelope = [[UIImageView alloc]initWithFrame:CGRectMake(20, 10, 30, 40)];
        imageRedEnvelope.image = [UIImage imageNamed:@"个人中心_红包"];
        [self addSubview:imageRedEnvelope];
        
        UILabel * labelOne = [[UILabel alloc]initWithFrame:CGRectMake(CGRectGetMaxX(imageRedEnvelope.frame)+10, 15, ScreenWidth-100, 12)];
        labelOne.font = FONT_13;
        labelOne.textColor = RGBColor(51, 51, 51);
        labelOne.text = @"邀请朋友奖励您3000金币";
        [self addSubview:labelOne];
        
        UILabel * labelTwo = [[UILabel alloc]initWithFrame:CGRectMake(CGRectGetMaxX(imageRedEnvelope.frame)+10, CGRectGetMaxY(labelOne.frame)+10, ScreenWidth-100, 10)];
        labelTwo.font = FONT_11;
        labelTwo.text = @"邀请朋友奖励您3000金币";
        labelTwo.textColor = [UIColor redColor];
        [self addSubview:labelTwo];
    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
